package org.onvivals.module.ums.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.onvivals.module.ums.entity.UmsUserBill;

import java.util.Date;

public interface IUmsUserBillService extends IService<UmsUserBill>{

	/**
	 * 增加收入/支入流水
	 *
	 * @param uid      uid
	 * @param title    账单标题
	 * @param category 明细种类
	 * @param type     明细类型
	 * @param number   明细数字
	 * @param balance  剩余
	 * @param mark     备注
	 * @param linkid   关联id
	 */
	void income(Long uid, String title, String category, String type, double number,
				double balance, String mark, String linkid, Date time);

}
